package Mangos::DB::Mangos::SpellLearnSpell;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'spell_learn_spell',

    columns => 
    [
        entry   => { type => 'integer', not_null => 1 },
        SpellID => { type => 'integer', not_null => 1 },
        Active  => { type => 'integer', default => 1, not_null => 1 },
    ],

    primary_key_columns => [ 'entry', 'SpellID' ],
);

1;

package Mangos::DB::Mangos::SpellLearnSpell::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::SpellLearnSpell' }

__PACKAGE__->make_manager_methods('spell_learn_spell');

1;
